﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/NPCTalk/NpcTalkUI.ui
*/



@UIBind('UI/NPCTalk/NpcTalkUI.ui')
export default class NpcTalkUI_Generate extends UIScript {
		private talkButton_Internal: mw.StaleButton
	public get talkButton(): mw.StaleButton {
		if(!this.talkButton_Internal&&this.uiWidgetBase) {
			this.talkButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/talkButton') as mw.StaleButton
		}
		return this.talkButton_Internal
	}
	private talkIcon_Internal: mw.Image
	public get talkIcon(): mw.Image {
		if(!this.talkIcon_Internal&&this.uiWidgetBase) {
			this.talkIcon_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/talkIcon') as mw.Image
		}
		return this.talkIcon_Internal
	}
	private talkContent_Internal: mw.TextBlock
	public get talkContent(): mw.TextBlock {
		if(!this.talkContent_Internal&&this.uiWidgetBase) {
			this.talkContent_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/talkContent') as mw.TextBlock
		}
		return this.talkContent_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 